$baseHTMLFontSize: 100;
html {
  font-size: 100px;
}
@media screen and (min-width: 260px) {
  html {
    font-size: 62.8019px;
  }
}
@media screen and (min-width: 280px) {
  html {
    font-size: 67.7031px;
  }
}
@media screen and (min-width: 310px) {
  html {
    font-size: 74.8791px;
  }
}
@media screen and (min-width: 320px) {
  html {
    font-size: 77.2946px;
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 86.9565px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 90.5797px;
  }
}
@media screen and (min-width: 390px) {
  html {
    font-size: 94.2029px;
  }
}
@media screen and (min-width: 393px) {
  html {
    font-size: 94.9275px;
  }
}
@media screen and (min-width: 400px) {
  html {
    font-size: 96.6183px;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 100px;
  }
}
@media screen and (min-width: 428px) {
  html {
    font-size: 103.3816px;
  }
}
@media screen and (min-width: 440px) {
  html {
    font-size: 106.2801px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 115.942px;
  }
}
@media screen and (min-width: 520px) {
  html {
    font-size: 125.6038px;
  }
}
@media screen and (min-width: 560px) {
  html {
    font-size: 135.2657px;
  }
}
@media screen and (min-width: 600px) {
  html {
    font-size: 144.9275px;
  }
}
@media screen and (min-width: 640px) {
  html {
    font-size: 154.5893px;
  }
}
@media screen and (min-width: 680px) {
  html {
    font-size: 164.2512px;
  }
}
@media screen and (min-width: 720px) {
  html {
    font-size: 173.913px;
  }
}
@media screen and (min-width: 760px) {
  html {
    font-size: 183.5748px;
  }
}
@media screen and (min-width: 800px) {
  html {
    font-size: 193.2367px;
  }
}
@media screen and (min-width: 960px) {
  html {
    font-size: 231.884px;
  }
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 246.276px;
  }
}
@function ptr($px) {
  @return calc($px / $baseHTMLFontSize) * 1rem;
}
@function ptr3($px) {
  @return calc(round($px/3) / $baseHTMLFontSize) * 1rem;
}
